#ifndef __CWINAPP_HPP
#define __CWINAPP_HPP

#include "CWinThread.hpp"

class CWinApp : public CWinThread
{

public:

	CWinApp();

	virtual BOOL InitInstance( );

	int Run();

protected:

	CWnd *m_pMainWnd;

};

extern CWinApp* afxCurrentWinApp;

#endif /* __CWINAPP_HPP */
